package cn.darksoul3.springcloud.alibaba.blcok;

import cn.darksoul3.common.result.ObjectResult;
import com.alibaba.csp.sentinel.slots.block.BlockException;

public class CustomerBlockHandler {

    public static ObjectResult handler(BlockException block){
        return ObjectResult.fail(504,block.getClass().getCanonicalName());
    }

}
